//Author: Soeren Pirk
//Date: 11.04.2013
//Edited: Thomas Lindemeier
//Date: 31.03.2014

#ifndef RENDERER
#define RENDERER

#include "Common.h"

class Scene;

class Renderer
{
public:
    Renderer(Scene *scene);
    ~Renderer();

    void init();
    void render();
	void resize(GLint width, GLint height);
    void onMouseWheel(GLboolean positive);
    void onMouseMove(vec2 delta);

private:
    GLint m_width;
    GLint m_height;

    vec2 m_rotate;
    GLfloat m_zoom;

    Scene *m_scene;
};

#endif